package de.unibi.comet.fa;

import java.util.Arrays;

public class DnaMotifParser {
	
	public static Alphabet getDnaAlphabet() {
		Character[] chars = {'a','c','g','t'};
		return new Alphabet(Arrays.asList(chars));
	}
	
	/** Creates a generalized string from a motif consisting of 'a','c','g','t', and '?'.*/
	public static GeneralizedString parse(String dnaMotif) {
		Alphabet alphabet = getDnaAlphabet();
		return new GeneralizedString(alphabet, dnaMotif);
	}
	
}
